package com.zb.activemq.have_two_try;

import java.io.Serializable;

/**
 * Created by dongyuncong on 2017/8/9.
 */
public class Bean implements Serializable{

    private static final long serialVersionUID = 1963216748626139674L;

    private String name;
    private String phone;
    private Integer age;
    private String car;

    public Bean(String name, String phone, Integer age, String car) {
        this.name = name;
        this.phone = phone;
        this.age = age;
        this.car = car;
    }

    public Bean() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getCar() {
        return car;
    }

    public void setCar(String car) {
        this.car = car;
    }

    @Override
    public String toString() {
        return "Bean{" +
                "name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", age=" + age +
                ", car='" + car + '\'' +
                '}';
    }
}
